package com.ityy.ruiji.service;

import com.ityy.ruiji.common.R;
import com.ityy.ruiji.entity.Employee;
import com.ityy.ruiji.entity.Page;

public interface RuiJiService {
    //登录,根据用户名查询
    R<Employee> login(Employee employee);

    //新增用户方法
    R save(Employee employee);


    R<Page> findByName(Integer page, Integer pageSize, String name);

    R update(Employee employee);


    R<Employee> findById(Long id);
}
